package org.android.bbdroid.webservice.data;

import java.io.Serializable;

public class Post
  implements Serializable
{
  private String author;
  private String date;
  private int forumId;
  private int id;
  private String preview;
  private String subject;
  private int topicId;

  public Post(int id, int tId, int fId, String author, String subject, String preview, String date)
  {
    this.id = id;
    this.topicId = tId;
    this.forumId = fId;
    this.author = author;
    this.date = date;
    this.subject = subject;
    this.preview = preview;
  }

  public String getAuthor()
  {
    return this.author;
  }

  public String getDate()
  {
    return this.date;
  }

  public int getForumId()
  {
    return this.forumId;
  }

  public int getId()
  {
    return this.id;
  }

  public String getPreview()
  {
    return this.preview;
  }

  public String getSubject()
  {
    return this.subject;
  }

  public int getTopicId()
  {
    return this.topicId;
  }
}